<template>
	<view class="content">
		<!-- 这里是状态栏 -->
		<view class="status_bar"></view>
		<Header :webtext='webtext'></Header>
		<view class="body"></view>
	</view>
</template>

<script>
	import Header from '../../components/head.vue'
	export default {
		components:{  
			Header
		},
		data(){
			return{
				webtext:"平臺資訊",
			};
		},
		onLoad() {
			this.getlist()
		},
		methods:{
			// 平臺資訊数据
			getlist(){
				this.$u.api.service({
					action: "getNoticeList",
					terminal_id: 2,
					debug: false,
					lang: "zh",
				}).then(res => {
					console.log(res.data.list,"平臺資訊数据");
				})
			},
		}
	}
</script>

<style scoped>
	.body{
		height: calc(100vh - 88upx - var(--status-bar-height));
		overflow-y: auto;
	}
</style>
